{"version":3,"file":"filesaver.min.js","sources":["filesaver.js"],"names":["saveAs","navigator","msSaveOrOpenBlob","bind","view","doc","document","get_URL","URL","webkitURL","save_link","createElementNS","can_use_save_link","externalHost","click","node","event","createEvent","initMouseEvent","dispatchEvent","webkit_req_fs","webkitRequestFileSystem","req_fs","requestFileSystem","mozRequestFileSystem","throw_outside","ex","setImmediate","setTimeout","force_saveable_type","fs_min_size","deletion_queue","process_deletion_queue","i","length","file","revokeObjectURL","remove","dispatch","filesaver","event_types","concat","listener","call","FileSaver","blob","name","this","type","blob_changed","object_url","target_view","get_object_url","createObjectURL","push","dispatch_all","split","fs_error","location","href","window","open","readyState","DONE","abortable","func","apply","arguments","create_if_not_found","create","exclusive","slice","INIT","download","chrome","webkitSlice","size","TEMPORARY","fs","root","getDirectory","dir","save","getFile","createWriter","writer","onwriteend","toURL","onerror","error","code","ABORT_ERR","forEach","write","abort","WRITING","NOT_FOUND_ERR","FS_proto","prototype","onwritestart","onprogress","onwrite","onabort","addEventListener","self","content","module","exports"],"mappings":"AAeA,GAAIA,QAASA,cACAC,aAAc,aAAeA,UAAUC,kBAAoBD,UAAUC,iBAAiBC,KAAKF,YAClG,SAASG,GACd,YACA,IACGC,GAAMD,EAAKE,SAEXC,EAAU,WACX,MAAOH,GAAKI,KAAOJ,EAAKK,WAAaL,GAEpCI,EAAMJ,EAAKI,KAAOJ,EAAKK,WAAaL,EACpCM,EAAYL,EAAIM,gBAAgB,+BAAgC,KAChEC,GAAsBR,EAAKS,cAAgB,YAAcH,GACzDI,EAAQ,SAASC,GAClB,GAAIC,GAAQX,EAAIY,YAAY,cAC5BD,GAAME,eACL,QAAS,KAAM,MAAOd,EAAM,EAAG,EAAG,EAAG,EAAG,EACtC,MAAO,MAAO,MAAO,MAAO,EAAG,KAElCW,GAAKI,cAAcH,IAElBI,EAAgBhB,EAAKiB,wBACrBC,EAASlB,EAAKmB,mBAAqBH,GAAiBhB,EAAKoB,qBACzDC,EAAgB,SAAUC,IAC1BtB,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